package com.gnerv.author.util;

/**
 * @author Gnerv LiGen
 * @description
 * @data 2019/3/25
 */
public class CommonUtil {

    /**
     * 获取文件名后缀
     * @param fileName
     * @return
     */
    public static String getFileSuffix(String fileName){
        String suffix = fileName.substring(fileName.lastIndexOf(".") + 1);
        return suffix;
    }


}
